package com.hh.common.request;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;
import java.io.Serializable;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class RealNameAuthRequest implements Serializable {
    private static final long serialVersionUID=1L;

    @NotBlank(message = "姓名不能为空")
    @Size(max = 32,message = "姓名太长")
    private String realName;

    @NotBlank(message = "身份证号不能为空")
    private String idCard;
}
